package com.hehua.web.proxy.demo2;

public class UserServiceProxy implements UserService{

    private RemoteUserService remoteUserService;

    public UserServiceProxy() {
        this.remoteUserService = new RemoteUserService();
    }

    @Override
    public void login(String username, String password) {
        remoteUserService.login(username,password);
    }
}
